<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="shortcut icon" href="show_files/favicon0.ico" />
<title>DATA_SITE_TITLE - Update Profile</title>
<!--<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">-->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<link href="external css/maintxt.css" rel="stylesheet" type="text/css">
<link href="external css/centercontainer.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body onLoad="MM_preloadImages('assets/navigation/navabout3_01.gif','assets/navigation/aboutnavig1_02.gif','assets/navigation/aboutnavig1_03.gif','assets/navigation/aboutnavig1_04.gif','assets/navigation/mainnav1_01.gif','assets/navigation/mainnav3_02.gif','assets/navigation/catalog2.gif','assets/navigation/mainnav1_04.gif','assets/navigation/mainnav1_05.gif','assets/navigation/mainnav1_06.gif','assets/navigation/mainnav1_07.gif','assets/navigation/mainnav1_08.gif')">
<div id="container">
DATA_menuheader
  <div id="Form">
	<form name="UpdateForm" method="post" action="" onSubmit="return validateForm(this);">
      <table width="95%"  border="0" align="center" cellpadding="4" cellspacing="0">
        <tr>
          <td width="30%" class="style6 style8 style7">Username</td>
          <td width="70%" class="style6"><b>DATA_val_username</b></td>
        </tr>
        <tr>
          <td width="30%" class="style6 style8 style7">Password</td>
          <td width="70%" class="style6"><input value="DATA_val_password" name="inp_password" type="password" id="Pass1" size="40" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">Repeat Password</td>
          <td class="style6"><input value="DATA_val_password2" name="inp_password2" type="password" id="Pass2" size="20" maxlength="100"></td>
        </tr>
        <tr>
          <td width="30%" class="style6 style8 style7">Name</td>
          <td width="70%" class="style6"><input value="DATA_val_name" name="inp_name" type="text" id="Name4" size="40" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">Company name</td>
          <td class="style6"><input value="DATA_val_company" name="inp_company" type="text" id="StraatUP" size="40" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">Address</td>
          <td class="style6">
			<textarea name="inp_address" rows="3" cols="30" class="inputbox">DATA_val_address</textarea>
		  </td>
        </tr>
        <tr>
          <td class="style6 style8 style7">Zip/Postal code</td>
          <td class="style6"><input value="DATA_val_zip" name="inp_zip" type="text" id="ZipcodeUP" size="20" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">City</td>
          <td class="style6"><input value="DATA_val_city" name="inp_city" type="text" id="CityUP" size="40" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">Country</td>
          <td class="style6"><input value="DATA_val_country" name="inp_country" type="text" id="CountryUP" size="40" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">E-mail address</td>
          <td class="style6"><input value="DATA_val_email" name="inp_email" type="text" id="EmailUP" size="40" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">TAV Number</td>
          <td class="style6"><input value="DATA_val_tav" name="inp_tav" type="text" id="Achternaam" size="20" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">Telephone</td>
          <td class="style6"><input value="DATA_val_telp" name="inp_telp" type="text" id="TelephoneUP" size="30" maxlength="100"></td>
        </tr>
        <tr>
          <td class="style6 style8 style7">Fax</td>
          <td class="style6"><input value="DATA_val_fax" name="inp_fax" type="text" id="FaxUP" size="30" maxlength="100"></td>
        </tr>
        <tr>
          <td valign="top" class="style6 style8 style7">Newsletter</td>
		  <td valign="top">
		  <input name="inp_newsletter" value="Y" type="radio" DATA_val_check1>Yes
		  <input name="inp_newsletter" value="N" type="radio" DATA_val_check2>No
		  </td>
        </tr>
        <tr>
          <td class="style6 style8 style7">&nbsp;</td>
          <td class="style6"><span class="style7">
            <label>
            <input type="submit" name="sumbitREG" id="sumbitREG" value="Update">
            </label>
          </span></td>
        </tr>
      </table>
	  <input value="DATA_no_anggota" name="NoAnggotaUP" type="hidden" id="Name4" size="40" maxlength="100">
    </form>
  </div>
  <div id="side1left" style="position:absolute; left:150px; top:-30px; width:39px; height:860px; z-index:7; background-color: #ececd2; layer-background-color: #ececd2; border: 1px none #000000;"></div>
  <div id="side1right" style="position:absolute; left:834px; top:0px; width:39px; height:830px; z-index:11; background-color: #ececd2; layer-background-color: #ececd2; border: 1px none #000000; font-size: 14px;"></div>
  <div id="side2right" style="position:absolute; left:855px; top:1px; width:162px; height:704px; z-index:4"></div>
  <div id="furniture1" style="position:absolute; left:59px; top:9px; width:155px; height:328px; z-index:16"><img src="assets/ornaments/ornament1a.gif" width="133" height="295"></div>
  <div id="Middle" style="position:absolute; left:189px; top:0px; width:659px; height:830px; z-index:6; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000;"></div>
  <div class="style10" id="registrationtit" style="position:absolute; left:229px; top:157px; width:347px; height:33px; z-index:20; font-size: 12px;">Update your details DATA_error_message</div>
  <div id="adresbottom" style="position:absolute; left:229px; top:680px; width:552px; height:41px; z-index:15;">
DATA_getfooter
</div>
  <div id="furniture3" style="position:absolute; left:834px; top:-18px; width:98px; height:214px; z-index:18">
    <p>&nbsp;</p>
    <p><img src="assets/ornaments/ornament3a.gif" width="176" height="454"></p>
  </div>
  <div id="Layer1" style="position:absolute; left:212px; top:25px; width:201px; height:70px; z-index:7; font-size: 14px;"><img src="assets/admin/DATA_SITE_LOGO_FRONT" width="200" height="69"></div>
  <div id="furniture2" style="position:absolute; left:76px; top:331px; width:120px; height:343px; z-index:17"><img src="assets/ornaments/ornament2a.gif" width="117" height="249"></div>
  <div id="Layer2" style="position:absolute; left:637px; top:510px; width:181px; height:115px; z-index:21"><strong><img src="assets/ornament_profile.jpg" alt="cube" width="170" height="125" /></strong></div>
</div>

<div id="password_alert" style="display:none;">You must provide a password</div>
<div id="password2_alert" style="display:none;">Please enter confirm password same as password</div>
<div id="email_alert" style="display:none;">You must provide a valid email address</div>

<script language="javascript">
  setFocusOnUserName();
 
function setFocusOnUserName()
	{
		document.UpdateForm.inp_username.focus();
	}

function kliksubmit()
{
	validateForm(UpdateForm);
}

function validateForm(frm)
	{
	var message='';
	var ckeckFocus=0;
	
	if(frm.inp_password.value=='')
	{
	
			if(ckeckFocus!=1)
				frm.inp_password.focus();
				message=message+document.getElementById('password_alert').innerHTML+"\\n";	
			var ckeckFocus=1;	     	  
		} 	
	else
		{
			if(frm.inp_password.value!=frm.inp_password2.value)
				{
		
				if(ckeckFocus!=1)
					frm.inp_password2.focus();
					message=message+document.getElementById('password2_alert').innerHTML+"\\n";	
					var ckeckFocus=1;	
				}
		}		
	
	if(frm.inp_email.value=='')
    {

		if(ckeckFocus!=1)
			frm.inp_email.focus();	
			message=message+document.getElementById('email_alert').innerHTML+"\\n";	       	
		var ckeckFocus=1;
	}
	else
	{
		var frmEmail1 =frm.inp_email.value.toLowerCase();	
		var frmEmailformat = /^[^@\s]+@([-a-z0-9]+\.)+([a-z]{2}|com|net|edu|org|gov|mil|int|biz|pro|info|arpa|aero|coop|name|museum)$/;
		if (!frmEmailformat.test(frmEmail1)) 
		{
			if(ckeckFocus!=1)
				frm.inp_email.focus();	
				message=message+document.getElementById('email_alert').innerHTML+"\\n";	
			var ckeckFocus=1;
		}
	}
		
	if(message) 
	{
		alert(message); 
		return false;
	}
	else 
	{
//		frm.submit();
		return true;
	}
}	


</script>

</body>
</html>
